package com.luxoft.scoremanager.server.dao;

import com.luxoft.scoremanager.server.model.entity.Component;

import java.util.List;

public interface ComponentDao {
    public void addComponent(Component component);

    public void updateComponent(Component component);

    public void deleteComponent(Component component);

    public List<Component> getAll();

    //public List<Component> getAllForPackage(int id);
    public Component getById(int id);
}
